]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
4 years agomain: Use Clutter.grab() underneath Main.push/popModal
Carlos Garnacho [Wed, 17 Nov 2021 23:36:44 +0000 (00:36 +0100)]
main: Use Clutter.grab() underneath Main.push/popModal

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

4 years agoappDisplay: Explicitly highlight selected app icon
Carlos Garnacho [Wed, 17 Nov 2021 23:25:48 +0000 (00:25 +0100)]
appDisplay: Explicitly highlight selected app icon

While the menu is popped up, we artificially keep the icon highlighted
by ensuring it's hovered, and muting events on the app icon until the
menu is popped down.

This is somewhat convoluted and won't work with Clutter.grab(), where
it will be the menu itself that is the owner of input events while
shown, so cut some corners and explicitly tell the app icon to be
highlighted.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

4 years agoboxPointer: Do not mute key events while showing
Carlos Garnacho [Wed, 17 Nov 2021 23:18:09 +0000 (00:18 +0100)]
boxPointer: Do not mute key events while showing

We want to mute things like pointers hovering the BoxPointer while
it does open. However keyboard events should still be handled
promptly.

Since Clutter.grab() will involve different actors being grabbed
and focused, this will have some more presence, e.g. when navigating
panel menus. We want to be able to navigate outside a menu while it
is still being shown.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

4 years agolookingGlass: Use Clutter.grab() for actor picking
Carlos Garnacho [Wed, 17 Nov 2021 23:13:45 +0000 (00:13 +0100)]
lookingGlass: Use Clutter.grab() for actor picking

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

4 years agoauthPrompt: Make actor reactive
Carlos Garnacho [Tue, 25 Jan 2022 17:09:05 +0000 (18:09 +0100)]
authPrompt: Make actor reactive

The actor is non-reactive, but has a key event handler to handle
the Esc key on the auth prompt. Mark this actor as reactive, so
it can handle the events.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

4 years agomodalDialog: Make reactive
Carlos Garnacho [Wed, 17 Nov 2021 23:03:08 +0000 (00:03 +0100)]
modalDialog: Make reactive

Some dialogs like the runDialog expect this actor to receive
key events while it is not reactive. Whatever that black magic was
it will no longer work.

Make the actor reactive, so it can simply handle key events.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

4 years agoslider: Use Clutter.grab() for implicit grab
Carlos Garnacho [Wed, 17 Nov 2021 23:00:52 +0000 (00:00 +0100)]
slider: Use Clutter.grab() for implicit grab

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

4 years agost: Use ClutterGrab for StScrollBar implicit grab
Carlos Garnacho [Wed, 17 Nov 2021 23:00:26 +0000 (00:00 +0100)]
st: Use ClutterGrab for StScrollBar implicit grab

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

4 years agost: Use ClutterGrab for StButton implicit grab
Carlos Garnacho [Wed, 17 Nov 2021 23:00:01 +0000 (00:00 +0100)]
st: Use ClutterGrab for StButton implicit grab

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>

4 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Fri, 28 Jan 2022 15:36:59 +0000 (15:36 +0000)]
Update Brazilian Portuguese translation

4 years agoUpdate Russian translation
Aleksandr Melman [Fri, 28 Jan 2022 11:09:14 +0000 (11:09 +0000)]
Update Russian translation

4 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 28 Jan 2022 09:32:42 +0000 (10:32 +0100)]
Updated Spanish translation

4 years agoUpdate Ukrainian translation
Yuri Chornoivan [Fri, 28 Jan 2022 06:48:32 +0000 (06:48 +0000)]
Update Ukrainian translation

4 years agostyle: Handle sections in submenus
Florian Müllner [Tue, 25 Jan 2022 14:47:23 +0000 (15:47 +0100)]
style: Handle sections in submenus

If a menu item in a submenu is part of a section, it should have
rounded bottom corners if both the item and the section are the
last child of its respective parent.

To express that, add a new .popup-menu-section class and use that
to undo/redo the rounding for items inside a section.

It would be possible to do without a new class with a selector like

 > StBoxLayout > .popup-menu-item:last-child:hover,
 :last-child > .popup-menu-item:last-child:hover

but that's hardly better with its heavy reliance on implementation
details.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4940

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2126>

4 years agooverviewControls: Handle keyboard navigation
Florian Müllner [Mon, 24 Jan 2022 16:00:36 +0000 (17:00 +0100)]
overviewControls: Handle keyboard navigation

The old view selector used to handle initiating keynav into pages.
That code became inactive when non-search related functionality
was moved elsewhere, and was finally removed in commit cf41f4a527.

We still want the keynav behavior it provided, so add similar code
to overview's control manager.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4056

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2124>

4 years agoscreenshot-ui: Add support for disable-save-to-disk
Ivan Molodetskikh [Thu, 27 Jan 2022 17:29:02 +0000 (20:29 +0300)]
screenshot-ui: Add support for disable-save-to-disk

When disable-save-to-disk is set, we only save the screenshot to the
clipboard, and therefore don't add the "open file" and "open folder"
actions to the notification.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Use ImageContent for notification icon
Ivan Molodetskikh [Fri, 26 Nov 2021 17:06:36 +0000 (20:06 +0300)]
screenshot-ui: Use ImageContent for notification icon

StImageContent specifically, when used as a notification icon, preserves
the screenshot aspect ratio and avoids ugly scaling.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Make screenshots appear in recent items
Ivan Molodetskikh [Mon, 11 Oct 2021 07:17:08 +0000 (10:17 +0300)]
screenshot-ui: Make screenshots appear in recent items

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Show a notification on capture
Ivan Molodetskikh [Thu, 26 Aug 2021 08:33:00 +0000 (11:33 +0300)]
screenshot-ui: Show a notification on capture

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Store screenshots to files
Ivan Molodetskikh [Thu, 26 Aug 2021 07:39:46 +0000 (10:39 +0300)]
screenshot-ui: Store screenshots to files

Screenshots are always stored to (xdg-)Pictures/Screenshots as discussed
in https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1950#note_655669

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Extract _saveScreenshot()
Ivan Molodetskikh [Tue, 17 Aug 2021 07:54:05 +0000 (10:54 +0300)]
screenshot-ui: Extract _saveScreenshot()

For simpler handling of screenshot/screencast.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add tooltips to buttons
Ivan Molodetskikh [Fri, 10 Dec 2021 13:25:09 +0000 (16:25 +0300)]
screenshot-ui: Add tooltips to buttons

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add cursor capturing option
Ivan Molodetskikh [Mon, 16 Aug 2021 15:12:05 +0000 (18:12 +0300)]
screenshot-ui: Add cursor capturing option

The cursor texture, scale and position is captured separately and
overlaid on top of the preview, and on top of the final screenshot
image. This allows toggling it on and off post-factum.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add keyboard navigation
Ivan Molodetskikh [Fri, 26 Nov 2021 12:29:25 +0000 (15:29 +0300)]
screenshot-ui: Add keyboard navigation

Allow switching the screenshot mode by pressing the "s", "c", or "w" key. Also
implement arrow-key navigation between monitors in the screen screenshot mode
and between windows in the window screenshot mode.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add a check icon to selected window
Ivan Molodetskikh [Fri, 17 Dec 2021 05:58:00 +0000 (08:58 +0300)]
screenshot-ui: Add a check icon to selected window

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add new selector icons
Ivan Molodetskikh [Mon, 11 Oct 2021 07:17:59 +0000 (10:17 +0300)]
screenshot-ui: Add new selector icons

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add window selection
Ivan Molodetskikh [Mon, 16 Aug 2021 15:06:35 +0000 (18:06 +0300)]
screenshot-ui: Add window selection

UIWindowSelectorLayout is a stripped-down subclass of WorkspaceLayout
(we don't have to deal with windows disappearing or appearing or
changing size). UIWindowSelectorWindow is a heavily stripped-down
version of WindowPreview. UIWindowSelector is analogous to the Workspace
class.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add area selection
Ivan Molodetskikh [Mon, 16 Aug 2021 11:34:49 +0000 (14:34 +0300)]
screenshot-ui: Add area selection

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Bind Ctrl-C, Enter, Space to capture
Ivan Molodetskikh [Mon, 16 Aug 2021 11:30:44 +0000 (14:30 +0300)]
screenshot-ui: Bind Ctrl-C, Enter, Space to capture

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add capturing and screen selection
Ivan Molodetskikh [Sat, 15 Jan 2022 15:23:32 +0000 (18:23 +0300)]
screenshot-ui: Add capturing and screen selection

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot: Add API to screenshot stage to a ClutterContent
Ivan Molodetskikh [Sat, 15 Jan 2022 15:22:44 +0000 (18:22 +0300)]
screenshot: Add API to screenshot stage to a ClutterContent

As mentioned in the last commit, we'll split up taking screenshots into
creating a GPU texture first, and later saving that to disk as a PNG.

For individual windows it's already easy to get a ClutterContent with
the texture using meta_window_actor_paint_to_content (), for the stage
it's not that easy and involves a few extra steps including X11 specific
ones.

So introduce a new ShellScreenshot API which does all that and provides
the caller with a ClutterContent of the stage:
shell_screenshot_screenshot_stage_to_content ()

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot: Add API to get PNG stream from a texture
Ivan Molodetskikh [Sat, 15 Jan 2022 15:20:51 +0000 (18:20 +0300)]
screenshot: Add API to get PNG stream from a texture

With the new screenshot UI we're introducing, we'll be capturing all
screenshots to textures on the GPU at first, and then create a PNG
stream from those textures at a later point. This will allow us to
present screenshots immediately to the user so they can inspect them and
select the right area before actually saving them to disk.

As a first step to make this work, introduce a new ShellScreenshot API
that writes an existing CoglTexture to a PNG output stream:
shell_screenshot_composite_to_stream ()

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add IconLabelButton
Ivan Molodetskikh [Mon, 16 Aug 2021 07:29:26 +0000 (10:29 +0300)]
screenshot-ui: Add IconLabelButton

A button that has an icon and a subtitle label.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add close button
Ivan Molodetskikh [Sun, 23 Jan 2022 10:53:35 +0000 (13:53 +0300)]
screenshot-ui: Add close button

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoscreenshot-ui: Add the control panel
Ivan Molodetskikh [Mon, 16 Aug 2021 07:25:52 +0000 (10:25 +0300)]
screenshot-ui: Add the control panel

The (currently empty) panel resides on the primary monitor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agoAdd scaffolding for the new screenshot UI
Ivan Molodetskikh [Mon, 16 Aug 2021 07:16:19 +0000 (10:16 +0300)]
Add scaffolding for the new screenshot UI

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

4 years agolightbox: Fix banding issues with the vignette shader
Jonas Dreßler [Thu, 27 Jan 2022 16:48:20 +0000 (17:48 +0100)]
lightbox: Fix banding issues with the vignette shader

Just as https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/352
did for the MetaBackgroundActor in mutter, let's fix the vignette shader
in gnome-shell, too.

Based on a patch originally propsed by Nikita Churaev, see
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/59.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3942
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2133>

4 years agoshell/app: Do not try to activate OR windows
Florian Müllner [Wed, 26 Jan 2022 15:48:55 +0000 (16:48 +0100)]
shell/app: Do not try to activate OR windows

Since https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2029,
we track all windows, including OR ones. While this means that we can
now assume that any window can be matched to an app, it also means
we have to be more careful to not perform an unsupported action like
focus or raise on an OR window.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4973

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2131>

4 years agoUpdate Slovenian translation
Matej Urbančič [Wed, 26 Jan 2022 20:49:50 +0000 (20:49 +0000)]
Update Slovenian translation

4 years agoUpdate Hebrew translation
Yosef Or Boczko [Tue, 25 Jan 2022 20:55:17 +0000 (20:55 +0000)]
Update Hebrew translation

4 years agoaltTab: Also use getWindows() for AppSwitcher
Jonas Dreßler [Thu, 17 May 2018 19:19:33 +0000 (21:19 +0200)]
altTab: Also use getWindows() for AppSwitcher

Use our custom filtering for meta_display_get_tab_list() in AppSwitcher
to be consistent and make sure the thumbnail list also includes the
remapping done in getWindows().

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2098>

4 years agoaltTab: Only calculate iconSize once
Jonas Dreßler [Wed, 25 Apr 2018 23:36:41 +0000 (01:36 +0200)]
altTab: Only calculate iconSize once

Right now, _setIconSize() calculates the icon size everytime the
preferred height of AppSwitcher is calculated, which happens quite
often.

Reduce the perfomance impact by only calculating the icon size once.
This has the added benefit of preventing unexpected changes to the icon
sizes while the switcher is open.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2098>

4 years agoaltTab: Check for reentrancy in override function of _onItemMotion()
Jonas Dreßler [Wed, 25 Apr 2018 19:34:00 +0000 (21:34 +0200)]
altTab: Check for reentrancy in override function of _onItemMotion()

Just like in the parent _onItemMotion() function, we should check for
reentrancy in our override.

Because the hover timeout will prevent a new selection from happening
for some time, in addition to checking for this._highlighted reentrancy,
we also need to track the item that's being hovered during the timeout.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2098>

4 years agoshellDBus: Return error on invalid app IDs
Florian Müllner [Tue, 8 Jan 2019 21:03:13 +0000 (22:03 +0100)]
shellDBus: Return error on invalid app IDs

When passing an invalid or unknown app ID to FocusApp(), we currently
open the app picker and silently fail to select the desired app.
Instead of half-working like that, make it clear that the argument
was invalid by returning an appropriate error. (It's easy to get the
ID wrong, as unlike appstream/flatpak IDs, we include the ".desktop"
suffix).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/337>

4 years agolightbox: GLSL requires real numbers, not integers
Daniel van Vugt [Tue, 25 Jan 2022 09:06:49 +0000 (17:06 +0800)]
lightbox: GLSL requires real numbers, not integers

At least backward-compatible GLSL requires real numbers only. It's a
fatal shader compilation error to use integers in GLES and older GL
versions like that of i915.

Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2115
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2125>

4 years agopopupMenu: Center labels vertically
Leleat [Tue, 18 Jan 2022 07:47:25 +0000 (08:47 +0100)]
popupMenu: Center labels vertically

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2113>

4 years agocleanup: Use logical assignments
Florian Müllner [Tue, 18 Jan 2022 20:02:04 +0000 (21:02 +0100)]
cleanup: Use logical assignments

gjs updated mozjs to a version that support assignment operators
for logical operators, so use those where appropriate.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2115>

4 years agolint: Partially sync with gjs
Florian Müllner [Tue, 18 Jan 2022 20:11:36 +0000 (21:11 +0100)]
lint: Partially sync with gjs

As in commit bf5129adc1, leave out putting the Formats module on
the verboten list.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2115>

4 years agoci: Update js image
Florian Müllner [Tue, 18 Jan 2022 22:10:59 +0000 (23:10 +0100)]
ci: Update js image

 - switch to F35 base
 - update eslint
 - update mozjs to 91
 - install current gnome-extensions tool instead of ancient tag

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2115>

4 years agoci: Bump mutter image
Florian Müllner [Tue, 18 Jan 2022 22:57:36 +0000 (23:57 +0100)]
ci: Bump mutter image

Needed for the new mozjs91-based gjs.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2115>

4 years agoUpdate Chinese (China) translation
Tao Liu [Mon, 24 Jan 2022 19:14:05 +0000 (19:14 +0000)]
Update Chinese (China) translation

4 years agoextensions-tool: Request missing attribute
Florian Müllner [Fri, 21 Jan 2022 01:41:51 +0000 (02:41 +0100)]
extensions-tool: Request missing attribute

g_file_enumerator_iterate() requires an enumerator that was created
with standard::file.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2121>

4 years agostylesheet: Fixes and missed updates for the 42 refresh
Sam Hewitt [Mon, 17 Jan 2022 16:44:25 +0000 (13:14 -0330)]
stylesheet: Fixes and missed updates for the 42 refresh

- increase the looking glass outer radii
- adjust the colours to be less dark
- fix oversized notification close icon
- fix separators and reduce padding in popovers
- fix colour mismatch in switch assets
- fix color of no-notifications asset
- rename assets to be consistent with dark-as-default scheme
- update checkbox assets
- fix calendar today border
- reduce icon size of placeholder notifications icon

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2111>

4 years agoui: Rename gnome-control-center to org.gnome.Settings
Georges Basile Stavracas Neto [Fri, 21 Jan 2022 13:24:02 +0000 (10:24 -0300)]
ui: Rename gnome-control-center to org.gnome.Settings

The app-id has changes since  [1].

[1] https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1153

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2123>

4 years agoschemas: Rename gnome-control-center to org.gnome.Settings
Georges Basile Stavracas Neto [Fri, 21 Jan 2022 13:22:53 +0000 (10:22 -0300)]
schemas: Rename gnome-control-center to org.gnome.Settings

The app-id has changes since  [1].

[1] https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1153

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2123>

4 years agologinDialog: Fix timing issue
Naïm Favier [Tue, 18 Jan 2022 22:46:57 +0000 (23:46 +0100)]
loginDialog: Fix timing issue

Fix the first task of the timed login batch not returning the hold on
`_waitForItemForUser`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2116>

4 years agopanel: Fix corner transition when slowed down
Florian Müllner [Thu, 20 Jan 2022 18:11:48 +0000 (19:11 +0100)]
panel: Fix corner transition when slowed down

Both ease() and CSS durations take the slow-down factor into account,
so the corners currently end up using the square of the factor in their
transition.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2118>

4 years agostyle: Stylesheet updates for GNOME 42
Sam Hewitt [Tue, 28 Dec 2021 13:46:54 +0000 (10:16 -0330)]
style: Stylesheet updates for GNOME 42

- updated switch assets
 - new high contrast assets
- use non-hardcoded bg color for dash
- updated palette colors
 - add missing color definitions to hc
- increase radii of many elements
- update search entry style
- align icon better in search entry
- restyle panel popovers without arrow and add drop shadow
- used theme colors in panel
- fix some things with popover labels
- new slider style
- some light variant fixes
- fixes to the calendar popover
 - day with event styles
 - better calendar-today.svg and dark variant
 - shorten calendary weekday header
 - saner padding
- overhaul popover menu style
- minor fixes to app grid and alt-tab switch
- updated looking glass styles
- nm-dialog adjustments
- search results adjustments
- expand out panel button hover styles
- button drawing adjustments
- adjust notifications area
- update on-screen keyboard style
 - better keyboard symbolic icon assets
 - change keyboard symbolic icons to 24px
 - improved keyboard style
 - gave the keyboard word suggestions some styles
- less obnoxious saner media control buttons
- cleaned up the css for the dash
- reworked the alt-tab switcher style
- sync style on workspace switcher
- adjusted dialog button style drawing
- popover submenu redrawing adjustement

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2104>

4 years agoscreencastService: Create directory if it doesn't exist
Ivan Molodetskikh [Fri, 17 Dec 2021 07:17:35 +0000 (10:17 +0300)]
screencastService: Create directory if it doesn't exist

Instead of testing if the videos directory exists and using the home
directory otherwise, just try to create the target directory. This
aligns with how the screenshot UI handles the screenshots folder, and
it's convenient for putting screencasts into a subdirectory.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2102>

4 years agoextensionSystem: Ignore spurious disable-extension-version-validation change
Aleksandr Mezin [Fri, 19 Nov 2021 19:15:37 +0000 (01:15 +0600)]
extensionSystem: Ignore spurious disable-extension-version-validation change

Ignore spurious change notificatons, when the setting didn't actually change
(triggered by `dconf update`)

Workaround for https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4808

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2047>

4 years agogdmUtil: Enable support for GDM's ChoiceList PAM extension
Ray Strode [Mon, 17 Jul 2017 20:48:03 +0000 (16:48 -0400)]
gdmUtil: Enable support for GDM's ChoiceList PAM extension

This commit hooks up support for GDM's ChoiceList PAM extension.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1978>

4 years agogdm: Add AuthList control
Ray Strode [Tue, 18 Jul 2017 16:58:14 +0000 (12:58 -0400)]
gdm: Add AuthList control

Ultimately, we want to add support for GDM's new ChoiceList
PAM extension.  That extension allows PAM modules to present
a list of choices to the user. Before we can support that
extension, however, we need to have a list control in the
login-screen/unlock screen.  This commit adds that control.

For the most part, it's a copy-and-paste of the gdm userlist,
but with less features.  It lacks API specific to the users,
lacks the built in timed login indicator, etc. It does feature
a label heading.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1978>

4 years agoaltTab: Use this._highlighted instead of this._curApp in AppSwitcher
Jonas Dreßler [Sun, 29 Apr 2018 23:06:35 +0000 (01:06 +0200)]
altTab: Use this._highlighted instead of this._curApp in AppSwitcher

Thanks to the parent class (SwitcherPopup), we already have a property
for the currently highlighted item, let's use it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2097>

4 years agoaltTab: Remove override of _itemEnteredHandler()
Jonas Dreßler [Thu, 26 Apr 2018 08:39:57 +0000 (10:39 +0200)]
altTab: Remove override of _itemEnteredHandler()

This override function is identical to the original function, so remove
it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2097>

4 years agoaltTab: Also return EVENT_PROPAGATE in override of _onItemMotion()
Jonas Dreßler [Wed, 25 Apr 2018 20:48:27 +0000 (22:48 +0200)]
altTab: Also return EVENT_PROPAGATE in override of _onItemMotion()

Clutter expects a return value here, so make sure we also return
Clutter.EVENT_PROPAGATE just like the function we override does.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2097>

4 years agoswitcherPopup: Rename _onItemEnter() to _onItemMotion()
Jonas Dreßler [Wed, 12 Jan 2022 10:36:41 +0000 (11:36 +0100)]
switcherPopup: Rename _onItemEnter() to _onItemMotion()

Since commit e94de67b, this is called by a motion-event handler instead
of enter-event, so let's adjust the function name.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2097>

4 years agolookingGlass: Add switches for debug flags
Sebastian Keller [Wed, 29 Sep 2021 18:09:19 +0000 (20:09 +0200)]
lookingGlass: Add switches for debug flags

This adds a new "Flags" tab to looking glass where several debug flags
can be toggled at run time. This includes:

ClutterDebugFlags
ClutterDrawDebugFlags
MetaDebugPaintFlags
MetaDebugTopics
MetaContext::unsafe-mode

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3968
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1994>

4 years agobackground: Don't override synchronous load() with an async version
Evan Welsh [Sat, 30 Oct 2021 22:11:10 +0000 (15:11 -0700)]
background: Don't override synchronous load() with an async version

Instead, override the asynchronous version to avoid conflicting with
the parent signature.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2040>

4 years agoci: Add missing node type
Florian Müllner [Sat, 8 Jan 2022 18:53:15 +0000 (19:53 +0100)]
ci: Add missing node type

Spotted in the error logs of
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2040

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2089>

4 years agodata: Add Swiss French and Swiss German OSK layouts
Jürg Lempen [Wed, 9 Jan 2019 10:10:56 +0000 (10:10 +0000)]
data: Add Swiss French and Swiss German OSK layouts

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2096>

4 years agoBump version to 42.alpha
Florian Müllner [Mon, 10 Jan 2022 18:20:59 +0000 (19:20 +0100)]
Bump version to 42.alpha

Update NEWS.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2095>

4 years agoUpdate Persian translation
Danial Behzadi [Mon, 10 Jan 2022 11:41:23 +0000 (11:41 +0000)]
Update Persian translation

4 years agoControlsManager: Propagate unmap before hiding the WorkspacesDisplay
Robert Mader [Sat, 8 Jan 2022 13:44:23 +0000 (14:44 +0100)]
ControlsManager: Propagate unmap before hiding the WorkspacesDisplay

Hiding the `WorkspacesDisplay` triggers a reallocation of the
`ControlsManagerLayout` which can fail with the following error:
```
JS ERROR: TypeError: workspace is undefined
_getSpacing@resource:///org/gnome/shell/ui/workspacesView.js:229:13
vfunc_allocate@resource:///org/gnome/shell/ui/workspacesView.js:355:18
vfunc_allocate@resource:///org/gnome/shell/ui/overviewControls.js:200:33
vfunc_hide@resource:///org/gnome/shell/ui/workspacesView.js:1070:38
vfunc_unmap@resource:///org/gnome/shell/ui/overviewControls.js:672:33
hideOverview@resource:///org/gnome/shell/ui/layout.js:312:28
_hideDone@resource:///org/gnome/shell/ui/overview.js:617:32
onComplete@resource:///org/gnome/shell/ui/overview.js:390:37
_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:134:13
_easeActorProperty/<@resource:///org/gnome/shell/ui/environment.js:298:60
```

This can be reproduced by closing the overview with the three-finger
gesture.

Thus propagate the unmap before hiding the `WorkspacesDisplay`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2088>

4 years agomain: Don't terminate remote session in headless mode
Joan Torres [Fri, 3 Dec 2021 00:14:16 +0000 (01:14 +0100)]
main: Don't terminate remote session in headless mode

Now gnome-shell can know if it is on headless mode
(depends on https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2130) and not terminate
a headless remote session when the session is locked.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2057>

4 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Fri, 7 Jan 2022 22:57:03 +0000 (22:57 +0000)]
Update Brazilian Portuguese translation

4 years agost/box-layout: Deprecate :pack-start property
Florian Müllner [Wed, 5 Jan 2022 16:49:46 +0000 (17:49 +0100)]
st/box-layout: Deprecate :pack-start property

A property for reversing the visible order of children is a bit odd.

It has also been unused by actual gnome-shell code since 2010, and the
somewhat related pack_start()/pack_end() API in GtkBox(Layout) is gone
in GTK4.

With that in mind, turn the property into a no-op and deprecate it,
so that it can be dropped next cycle.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2085>

4 years agowindowManager: Set correct unfullscreen gesture enabled state on startup
Sebastian Keller [Thu, 6 Jan 2022 03:53:23 +0000 (04:53 +0100)]
windowManager: Set correct unfullscreen gesture enabled state on startup

The unfullscreen gesture was defaulting to enabled until the first
window focus change. With it now being run in the capture phase, the
gesture was preventing clicks in the top panel except on the activities
button before the first window was opened.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2087>

4 years agodbusServices/extensions: Instruct gjs to generate unique GType names
Florian Müllner [Sat, 6 Nov 2021 02:34:25 +0000 (03:34 +0100)]
dbusServices/extensions: Instruct gjs to generate unique GType names

Like the main gnome-shell process, the extensions service loads code from
extensions. It therefore makes sense to prevent GType name clashes there
as well, just like we already to in the gnome-shell process.

This may break some extensions that use the old type name in .ui files,
but they can be fixed easily by specifying an explicit GTypeName.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2024>

4 years agoshell/app: Honor XDG SingleMainWindow key
Nate Graham [Wed, 5 Jan 2022 16:13:12 +0000 (09:13 -0700)]
shell/app: Honor XDG SingleMainWindow key

This is the upstreamed version of X-GNOME-SingleWindow which is now a
part of the XDG desktop file spec as of version 1.5; see
https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/53

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2084>

4 years agoci: Bump mutter image
Florian Müllner [Wed, 5 Jan 2022 18:02:12 +0000 (19:02 +0100)]
ci: Bump mutter image

Mutter itself now depends on a more recent wayland-protocols, so
update to the correct image version to fix the CI build.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2086>

4 years agomessageTray: Close SHOWING banner when its notification is destroyed
Sebastian Keller [Sat, 25 Dec 2021 23:19:25 +0000 (00:19 +0100)]
messageTray: Close SHOWING banner when its notification is destroyed

Currently only banners in the SHOWN state are hidden when the underlying
notification is destroyed, but if they are in the SHOWING state, they
remain visible. Because the 'notification' member has already been set
to null when the notification got destroyed, closing the banner by
clicking on the close button, will not do anything and clicking on the
notification itself will result in an error message. For notifications
without a timeout, i.e. critical ones, this will result in an
uncloseable notification.

This can happen if the program creating a critical notification
immediately closes it again, as might happen with power notifications
from gnome-settings-daemon in some situations.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4855
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2079>

4 years agojs: Remove dead code in loginDialog and workspacesView
Evan Welsh [Sat, 30 Oct 2021 22:22:25 +0000 (15:22 -0700)]
js: Remove dead code in loginDialog and workspacesView

- this._scrolling no longer exists
- _getBannerAllocation takes a single argument

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2042>

4 years agodocs: Use gender-neutral pronouns
Emily Gonyer [Sat, 13 Nov 2021 20:23:48 +0000 (20:23 +0000)]
docs: Use gender-neutral pronouns

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2031>

4 years agoextensions-app: Use AdwPreferencesPage and AdwPreferencesGroup
Romain Vigier [Mon, 18 Oct 2021 13:18:11 +0000 (15:18 +0200)]
extensions-app: Use AdwPreferencesPage and AdwPreferencesGroup

Give consistent styling and sizing to extensions lists.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997>

4 years agoextensions-app: Vertically center updates bar text
Romain Vigier [Tue, 5 Oct 2021 07:49:13 +0000 (09:49 +0200)]
extensions-app: Vertically center updates bar text

With the new stylesheet, the text is too close to the bar border.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997>

4 years agoextensions-app: Replace empty views with AdwStatusPage
Romain Vigier [Mon, 4 Oct 2021 13:45:21 +0000 (15:45 +0200)]
extensions-app: Replace empty views with AdwStatusPage

AdwStatusPage provides consistent styling for empty views.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997>

4 years agoextensions-app: Use `.content` class for lists
Romain Vigier [Mon, 4 Oct 2021 13:42:48 +0000 (15:42 +0200)]
extensions-app: Use `.content` class for lists

Since the `.content` class comes with its own separators, we
don't need the property `use-separators` on the list.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997>

4 years agoextensions-app: Use `.heading` class for headings
Romain Vigier [Mon, 4 Oct 2021 13:22:09 +0000 (15:22 +0200)]
extensions-app: Use `.heading` class for headings

Don't hardcode headings styling.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997>

4 years agoextensions-app: Use Adw.Application's automatic style loading
Florian Müllner [Wed, 5 Jan 2022 13:51:53 +0000 (14:51 +0100)]
extensions-app: Use Adw.Application's automatic style loading

Now that we switched to AdwApplication, we can automate loading
the custom stylesheet by simply using the expected name and
resource prefix.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997>

4 years agoextensions-app: Use AdwApplication
Romain Vigier [Mon, 4 Oct 2021 13:18:51 +0000 (15:18 +0200)]
extensions-app: Use AdwApplication

Initialize libadwaita, which loads the libadwaita stylesheet
and allow following the dark style preference of the system.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997>

4 years agodateMenu: Port to GWeather 4.0
Florian Müllner [Wed, 5 Jan 2022 02:18:08 +0000 (03:18 +0100)]
dateMenu: Port to GWeather 4.0

Besides dropping its GTK dependency (which doesn't affect us),
GWeather 4.0 replaces its own timezone type with GTimeZone.

It's easy enough to adjust to that, so port over to the new
version.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2083>

4 years agoenvironment: Require libgweather 3.0
Florian Müllner [Wed, 5 Jan 2022 01:42:49 +0000 (02:42 +0100)]
environment: Require libgweather 3.0

GWeather did a major version bump on its main branch, so it is
now possible that multiple versions are installed in parallel,
and we should explicitly pick the one we are using.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2083>

4 years agotheme: Use updated bell icon
Jakub Steiner [Tue, 4 Jan 2022 13:55:54 +0000 (14:55 +0100)]
theme: Use updated bell icon

- the symbolic for notifications changed

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4913

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2082>

4 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 4 Jan 2022 13:38:00 +0000 (14:38 +0100)]
Updated Spanish translation

4 years agoiconGrid: Remove unused spring animation code
Sebastian Keller [Sat, 1 Jan 2022 18:13:03 +0000 (19:13 +0100)]
iconGrid: Remove unused spring animation code

The spring animation has not been used since 40.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2081>

4 years agoappDisplay: Remove leftover code from the spring animation
Sebastian Keller [Sat, 1 Jan 2022 18:12:19 +0000 (19:12 +0100)]
appDisplay: Remove leftover code from the spring animation

These are some leftovers from when the shell stopped using the spring
animation in 40.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2081>

4 years agoUpdate Serbian translation
Мирослав Николић [Wed, 29 Dec 2021 17:46:10 +0000 (17:46 +0000)]
Update Serbian translation

(cherry picked from commit 1f231dad043d082174bd123fc111546edb062bfc)

4 years agobuild: Drop incorrect positional arg
Florian Müllner [Thu, 23 Dec 2021 16:18:16 +0000 (17:18 +0100)]
build: Drop incorrect positional arg

Unlike other targets that take a name, i18n.merge_file() does not.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2078>

4 years agolockScreen: Don't wake up screen in DND mode
kyte [Sat, 27 Nov 2021 07:50:23 +0000 (13:20 +0530)]
lockScreen: Don't wake up screen in DND mode

Screen woke up whenever a new notification popped up
on lock screen even when DND was turned on.
This commit changes this behaviour to not wake
the screen up in such case.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4710

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2051>

4 years agobuild: Use meson's gnome.post_install()
Florian Müllner [Wed, 22 Dec 2021 19:11:31 +0000 (20:11 +0100)]
build: Use meson's gnome.post_install()

... instead of the external script.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2077>